﻿#include "renderer.h"

CAGD::Renderer::Renderer(MainOpenGLWidget *parent)
    : m_arrayId(Count()), m_parent(parent), m_context(AIS_Context::ShareContext())
{
}

int CAGD::Renderer::Count()
{
    static int count = 0;
    return count++;
}